﻿@model LeadVinaglue.Models.BaseViewModel
           
@if (Model != null && Model.BreadCrumb != null && Model.BreadCrumb.Count > 0)
{
    int i = 0;
    <div class="toph">
        @foreach (var item in Model.BreadCrumb)
        {
            i++;
            if (i > 1)
            {
                <span>&nbsp;&raquo;&nbsp;</span>
            }
            if (string.IsNullOrEmpty(item.LinkUrl))
            {
                <span>@item.LinkText</span>
            }
            else
            {
                <a href="@item.LinkUrl">@item.LinkText</a>
            }
        }
    </div>
}
